

            const path = require('path');
            const staticImg = path.join(__dirname, 'static');

            function ArduinoUnoBlocks (Blockly) {
            
                        
                        

                        Blockly.Blocks['EXT_PIANO_MODULE_BLOCK_1607506929669'] = {
                            init: function() {
                                this.jsonInit({
                                    "message0": Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669,
                                    "args0": [
                                        
                        {
                            "type": "field_dropdown",
                            "name":  "c_pin",
                            "options": [
                                 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_0,  '2'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_1,  '3'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_2,  '4'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_3,  '5'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_4,  '6'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_5,  '7'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_6,  '8'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_7,  '9'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_8,  '10'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_9,  '11'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_10,  '12'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_11,  '13'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_12,  '14'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_13,  '15'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_14,  '16'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_15,  '17'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_16,  '18'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_17,  '19'],

                            ]
                        },
                        
                        {
                            "type": "field_dropdown",
                            "name":  "d_pin",
                            "options": [
                                 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_0,  '2'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_1,  '3'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_2,  '4'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_3,  '5'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_4,  '6'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_5,  '7'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_6,  '8'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_7,  '9'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_8,  '10'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_9,  '11'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_10,  '12'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_11,  '13'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_12,  '14'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_13,  '15'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_14,  '16'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_15,  '17'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_16,  '18'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_C_PIN_17,  '19'],

                            ]
                        },
                        
                        {
                            "type": "field_dropdown",
                            "name":  "piano_btn",
                            "options": [
                                 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_0,  'BS_KEYCODE_1'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_1,  'BS_KEYCODE_2'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_2,  'BS_KEYCODE_3'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_3,  'BS_KEYCODE_4'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_4,  'BS_KEYCODE_5'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_5,  'BS_KEYCODE_6'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_6,  'BS_KEYCODE_7'],
 [Blockly.Msg.EXT_PIANO_MODULE_BLOCK_1607506929669_PIANO_BTN_7,  'BS_KEYCODE_8'],

                            ]
                        },
                        
                                    ],
                                    "colour": "#179b73",
                                    "extensions":[ "output_boolean"]
                                });
                                }
                        };
                        
            return Blockly;
            }

            module.exports = ArduinoUnoBlocks ;

        